/dts-v1/;

/include/ "tegra20.dtsi"

/ {
	model = "Toshiba AC100 / Dynabook AZ";
	compatible = "compal,paz00", "nvidia,tegra20";

	memory@0 {
		reg = <0x00000000 0x20000000>;
	};

	i2c@7000c000 {
		clock-frequency = <400000>;

		alc5632: alc5632@1e {
			compatible = "realtek,alc5632";
			reg = <0x1e>;
			gpio-controller;
			#gpio-cells = <2>;
		};
	};

	i2c@7000c400 {
		clock-frequency = <400000>;
	};

	i2c@7000c500 {
		status = "disable";
	};

	nvec@7000c500 {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "nvidia,nvec";
		reg = <0x7000C500 0x100>;
		interrupts = <0 92 0x04>;
		clock-frequency = <80000>;
		request-gpios = <&gpio 170 0>;
		slave-addr = <138>;
	};

	i2c@7000d000 {
		clock-frequency = <400000>;

		adt7461@4c {
			compatible = "adi,adt7461";
			reg = <0x4c>;
		};
	};

	i2s@70002a00 {
		status = "disable";
	};

	sound {
		compatible = "nvidia,tegra-audio-alc5632-paz00",
			"nvidia,tegra-audio-alc5632";

		nvidia,model = "Compal PAZ00";

		nvidia,audio-routing =
			"Int Spk", "SPKOUT",
			"Int Spk", "SPKOUTN",
			"Headset Mic", "MICBIAS1",
			"MIC1", "Headset Mic",
			"Headset Stereophone", "HPR",
			"Headset Stereophone", "HPL",
			"DMICDAT", "Digital Mic";

		nvidia,audio-codec = <&alc5632>;
		nvidia,i2s-controller = <&tegra_i2s1>;
		nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
	};

	serial@70006000 {
		clock-frequency = <216000000>;
	};

	serial@70006040 {
		status = "disable";
	};

	serial@70006200 {
		clock-frequency = <216000000>;
	};

	serial@70006300 {
		status = "disable";
	};

	serial@70006400 {
		status = "disable";
	};

	sdhci@c8000000 {
		cd-gpios = <&gpio 173 0>; /* gpio PV5 */
		wp-gpios = <&gpio 57 0>;  /* gpio PH1 */
		power-gpios = <&gpio 169 0>; /* gpio PV1 */
	};

	sdhci@c8000200 {
		status = "disable";
	};

	sdhci@c8000400 {
		status = "disable";
	};

	sdhci@c8000600 {
		support-8bit;
	};

	gpio-keys {
		compatible = "gpio-keys";

		power {
			label = "Power";
			gpios = <&gpio 79 1>; /* gpio PJ7, active low */
			linux,code = <116>; /* KEY_POWER */
			gpio-key,wakeup;
		};
	};

	gpio-leds {
		compatible = "gpio-leds";

		wifi {
			label = "wifi-led";
			gpios = <&gpio 24 0>;
			linux,default-trigger = "rfkill0";
		};
	};
};
